package com.toptech.downloadmanager;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends AppCompatActivity {
    private static final String TAG = "zsr";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Taskinfo taskinfo = new Taskinfo.Builder()
                .setName("有道词典")
                .setUrl("www.baidu.com")
                .setThreadcount(5)
                .build();

        Log.d(TAG, "onCreate: "+taskinfo);
    }
}
